From: Jasper St. Pierre Date: Wed, 2 Jan 2013 14:05:32 +0000 (-0500) Subject: main: Don't mess up the modal stack when the focus actor is destroyed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5129 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=55aa0cf30305ae09ac1eb4e4d58c524d44c2a9bb;p=gnome-shell.git main: Don't mess up the modal stack when the focus actor is destroyed This seems to be an incorrect conversion when we moved from an array to an object of keys in 3a6b4f3. https://bugzilla.gnome.org/show_bug.cgi?id=690965 --- diff --git a/js/ui/main.js b/js/ui/main.js index 12daee24d..1334d58e6 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -553,7 +553,7 @@ function pushModal(actor, params) { curFocusDestroyId = curFocus.connect('destroy', function() { let index = _findModal(actor); if (index >= 0) - modalActorFocusStack[index].actor = null; + modalActorFocusStack[index].focus = null; }); } modalActorFocusStack.push({ actor: actor,